SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 65898: A misleading SASTRACE message appears in the log when you insert a row into an Oracle table using SAS/ACCESS® Interface to Oracle with DBIDIRECTEXEC

DetailsHotfixAboutRate It

If you have SASTRACE turned on, an incorrect message appears when you insert a row into an Oracle table with the DBIDIRECTEXEC option.

For example, when you insert only one row into an Oracle table with DBIDIRECTEXEC, the trace message should show the following:

ORACLE: 1 rows inserted/updated/deleted.

Instead, the trace message shows the following:

  ORACLE: 4294967296 rows inserted/updated/deleted.

You encounter this issue when you submit code similar to the following:

libname x oracle user=user_ID password=password path=db_path;
proc sql;
   insert into x.tab80 values (2,2,2);
quit;

After you run the code, you see the following in the SAS log (if you have SASTRACE enabled):

options dbidirectexec;
proc sql;
insert into x.TAB80 values (2,2,2);
ORACLE_1: Prepared: on connection 0
SELECT * FROM TAB80
ORACLE_2: Executed: on connection 1
insert into TAB80 ("A", "B", "C") values (2, 2, 2)
ORACLE: 4294967296 rows inserted/updated/deleted.
ORACLE:  *-*-*-*-*-*-* COMMIT *-*-*-*-*-*-*
quit;

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS/ACCESS Interface to OracleLinux for x649.429.449.4 TS1M59.4 TS1M7
HP-UX IPF9.429.449.4 TS1M59.4 TS1M7
64-bit Enabled Solaris9.429.449.4 TS1M59.4 TS1M7
64-bit Enabled AIX9.429.449.4 TS1M59.4 TS1M7
Windows 7 Ultimate x649.429.449.4 TS1M59.4 TS1M7
Microsoft Windows Server 20169.429.449.4 TS1M59.4 TS1M7
Microsoft Windows Server 2012 Std9.429.449.4 TS1M59.4 TS1M7
Microsoft Windows Server 2012 R2 Std9.429.449.4 TS1M59.4 TS1M7
Microsoft Windows Server 2012 R2 Datacenter9.429.449.4 TS1M59.4 TS1M7
Microsoft Windows 8 Pro x649.429.449.4 TS1M59.4 TS1M7
Microsoft Windows 8.1 Enterprise 32-bit9.429.449.4 TS1M59.4 TS1M7
Microsoft Windows 8.1 Enterprise x649.429.449.4 TS1M59.4 TS1M7
Microsoft Windows 8.1 Pro 32-bit9.429.449.4 TS1M59.4 TS1M7
Microsoft Windows 8.1 Pro x649.429.449.4 TS1M59.4 TS1M7
Microsoft Windows 109.429.449.4 TS1M59.4 TS1M7
Microsoft Windows Server 2012 Datacenter9.429.449.4 TS1M59.4 TS1M7
Microsoft Windows 8 Enterprise x649.429.449.4 TS1M59.4 TS1M7
Microsoft Windows 8 Enterprise 32-bit9.429.449.4 TS1M59.4 TS1M7
Microsoft® Windows® for x649.429.449.4 TS1M59.4 TS1M7
Solaris for x649.429.449.4 TS1M59.4 TS1M7
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.